﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenAuth.Repository.Core;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 查询指定排班号源信息(指定排班号源查询)
    /// </summary>
    public class CYYGH013 : Entity
    {
        /// <summary>
        /// 排班序号
        /// </summary>
        private decimal _pbxh;
        public decimal pbxh { get => Convert.ToInt32(_pbxh); set => _pbxh = value; }
        /// <summary>
        /// 预约日期
        /// </summary>
        public string yyrq { get; set; }
        /// <summary>
        /// 坐诊时间类型
        /// </summary>
        public Int16 zzlx { get; set; }
        /// <summary>
        /// 坐诊时间类型名称
        /// </summary>
        public string zzlxmc { get; set; }
        /// <summary>
        /// 号源总数（hys）
        /// </summary>
        public int hyzs { get; set; }
        /// <summary>
        /// 已预约总数（yys）
        /// </summary>
        public int yyyzs { get; set; }
        /// <summary>
        /// 可预约号源总数（kyys）
        /// </summary>
        public int kyyzs { get; set; }
        /// <summary>
        /// 就诊科室代码
        /// </summary>
        public string jzksdm { get; set; }
        /// <summary>
        /// 就诊科室名称
        /// </summary>
        public string jzksmc { get; set; }
        /// <summary>
        /// 挂号费
        /// </summary>
        private decimal _ghf;
        public decimal ghf { get => System.Decimal.Round(_ghf, 2); set => _ghf = value; }
        /// <summary>
        /// 治疗费
        /// </summary>
        private decimal _zlf;
        public decimal zlf { get => System.Decimal.Round(_zlf, 2); set => _zlf = value; }
        /// <summary>
        /// 总金额
        /// </summary>
        private decimal _zje;
        public decimal zje { get => System.Decimal.Round(_zje, 2); set => _zje = value; }
        /// <summary>
        /// 出诊类型
        /// </summary>
        public string czlx { get; set; }
        /// <summary>
        /// 出诊类型名称
        /// </summary>
        public string czlxmc { get; set; }
        /// <summary>
        /// 排班名称
        /// </summary>
        public string pbmc { get; set; }
        /// <summary>
        /// 排班类别
        /// </summary>
        public string pblb { get; set; }
        /// <summary>
        /// 医生代码
        /// </summary>
        public string ysdm { get; set; }
        /// <summary>
        /// 医生姓名
        /// </summary>
        public string ysxm { get; set; }
        /// <summary>
        /// 记录状态
        /// </summary>
        public Int16 jlzt { get; set; }
    }
}
